#include<stdio.h>

int Sum(int s , int e)
{
    int sum=0;
    int i=s;
    for(i=s;i<=e;i++)
    {
        sum+=i;
    }
    return sum;
}

int add(int x,int y)
{
    return x+y;
}

int div(int x,int y)
{
    int z=x/y;
    return z;
}

int main()
{
    printf("process is running\n");

    int start=1;
    int end=100;
    int result = Sum(start,end);
    printf("process is done,result:%d\n",result);

    int a=div(10,2);
    printf("div(10,2):%d",a);

    int b=add(10,20);
    printf("add(10,20):%d",b);
    return 0;
}
